#include "LinearMath/btThreads.h"
#ifdef __cplusplus
extern "C" {
#endif
btSpinMutex* bullet_NewbtSpinMutex(){
	btSpinMutex* wrap_out = new btSpinMutex();
	return wrap_out;
}

void bullet_btSpinMutex_lock(btSpinMutex* c_this){
	c_this->lock();
}

bool bullet_btSpinMutex_tryLock(btSpinMutex* c_this){
	bool c_out = c_this->tryLock();
	bool wrap_out = (c_out);
	return wrap_out;
}

void bullet_btSpinMutex_unlock(btSpinMutex* c_this){
	c_this->unlock();
}

char* bullet_btITaskScheduler_getName(btITaskScheduler* c_this){
	char const * c_out = c_this->getName();
	char* wrap_out = (char*)(void*)(c_out);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
